package com.zbb.online_exam.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zbbstart
 * @date 2021/2/9 - 17:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户老师对象", description = "封装了老师的各个属性后得到的一个实体对象")
public class Teacher implements Serializable {
    private static final long serialVersionUID = 1917286535588262619L;
    @ApiModelProperty(name = "teacherNo", value = "老师编号", example = "0001")
    private String teacherNo;
    @ApiModelProperty(name = "teacherName", value = "老师名称", example = "王老师")
    private String teacherName;
}
